package com.niit.domain;

import java.util.Date;

public class Notice {
    private int id;
    private String content;
    private Date ctime;

    @Override
    public String toString() {
        return "Notice{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", ctime=" + ctime +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Notice() {
    }

    public Notice(int id, String content, Date ctime) {
        this.id = id;
        this.content = content;
        this.ctime = ctime;
    }
}
